package base.generic.demo01;

import org.junit.Test;

public class GenericTest {

    /**
     *	没用泛型前，开发人员可能转型异常
     */
    @Test
    public void genericTestCase(){
        Generic generic = new Generic(new Cat());
        Cat cat = (Cat) generic.getObj();
    }
}
